package com.j2eefast.produce.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 委托单数据列表
 * pms_entrust_list
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_entrust_list")
public class PmsEntrustListEntity extends BaseEntity{

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    private Long id;
    /**录入检测列表id*/
    @TableField(value = "sample_id")
    private Long sampleId;
    /**存json内容用*/
    @TableField(value = "content")
    private String content;
    /**项目名称*/
    @TableField(value = "project_name")
    private String projectName;
    /**委托编号*/
    @TableField(value = "entrust_code")
    private String entrustCode;
    /**标题*/
    @TableField(value = "title")
    private String title;



    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    private Date updateTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "create_by")
    private String createBy;

    /** 更新人 */
    @TableField(value = "update_by")
    private String updateBy;

    /** 备注 */
    @TableField(value = "remark")
    private String remark;
















}
